export default [
    {
        url: 'user/list',
        method: 'post',
        t(req) {
            
            const { user } = JSON.parse(req.body)
            console.log(user)
            let arr = []
            for(var i = 0;i<10000;i++){
                arr.push({
                    name: "test"+i,
                    job: i%4==2? '采购经理':i%6==2?'文员':'采购员'
                })
            }
            console.log(arr)
            // if (user === 'zc' && password === '123456') {
                // return {
                //     code: 0,
                //     data: {
                //         token: 'whosyourdaddy'
                //     },
                //     user: {
                //         username: 'zc'
                //     },
                //     success: true
                // }
            // }
            return {
                code: 1,
                message: '查询失败',
                success: false
            }
        }
    }
]
